package com.happycat.mobile.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.happycat.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * Module: CatBanner.java
 *
 * @author liaoyong
 * @since JDK 1.8
 * @version 1.0
 * @date 2020-08-01
 * @Descriptions:
 */
@Data
@TableName(value = "cat_banner")
@ApiModel
public class CatBanner extends BaseEntity<Long> {
	
	@ApiModelProperty(value="图片")
	@TableField("image_url")
	private String imageUrl;
	
	@ApiModelProperty(value="位置:home 首页， community 社区")
	@TableField("postion")
	private String postion;
	
	@ApiModelProperty(value="排序, 数字越小排名越前")
	@TableField("sort")
	private Integer sort;
	
	@ApiModelProperty(value="创建用户")
	@TableField("create_by")
	private String createBy;
	
	@ApiModelProperty(value="状态")
	@TableField("status")
	private Integer status;
	
}